package com.rxh.mapper.merchant;

import com.rxh.mapper.base.BaseMapper;
import com.rxh.pojo.base.SearchInfo;
import com.rxh.pojo.merchant.MerchantWebSite;

import java.util.List;
import java.util.Map;

public interface MerchantWebSiteMapper extends BaseMapper<MerchantWebSite, Integer> {

    List<MerchantWebSite> selectAllIdAndMerIdAndWeb();

    List<MerchantWebSite> selectAllByParam(Map<String, Object> map);

    MerchantWebSite selectUrlById(Integer id);

    List<MerchantWebSite> selectAll();

    Boolean isSiteUrlExist(String siteUrl);

    List<MerchantWebSite> selectByMerchantId(Integer merchantId);

    List<Map<String,Object>> selectByWebSiteMgmtInfo(SearchInfo searchInfo);

    int selectWebSiteByMerId(MerchantWebSite merchantWebSite);



}